package cz.su.pod.reservation.dao;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import cz.su.pod.reservation.entity.User;

@Service
public class UserDaoImpl extends BaseDao implements UserDao {
	
	@Transactional(readOnly = true)
	public User get(String id) {		
		return null;
	}

	@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
	public void save(User entity) {
		// TODO Auto-generated method stub
		
	}
	
	@Transactional (readOnly = false, propagation = Propagation.REQUIRED)
	public void delete(User entity) {
		// TODO Auto-generated method stub
		
	}	
}
